package com.apiserver.data.mybatis.model;


import com.apiserver.data.annotation.IdStrategy;
import lombok.*;

@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ColumnProperty {


    //数据库列名称
    private String columnName;

    //实体属性名称
    private String propertyName;

    //是否主键
    private Boolean isPK;

    //是否过滤字段
    private Boolean isTransient;

    //值
    private Object value;


    //实体字段对应的类型
    private Class<?> javaType;

    //实体字段对应的类型
    private IdStrategy idStrategy;

}
